package View;

import java.awt.Color;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;

import javax.swing.JPanel;

public class Profilo extends JPanel{
	
	JPanel sopra = new JPanel();
	JPanel centro = new JPanel();
	JPanel destra = new JPanel();
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4115591780665652299L;

	public Profilo(){
		
		super(new GridBagLayout());
		
		GridBagConstraints con = new GridBagConstraints();
				
		sopra.setBackground(Color.black);
		con.fill = GridBagConstraints.BOTH;
		con.weightx = 0.02;
		con.weighty = 0.02;
		con.gridx = 0;
		con.gridy = 0;
		con.gridwidth = 6;
		this.add(sopra, con);
		
		centro.setBackground(Color.green);
		con.fill = GridBagConstraints.BOTH;
		con.weightx = 0.77;
		con.weighty = 0.77;
		con.gridx = 0;
		con.gridy = 1;
		con.gridwidth = 3;
		this.add(centro, con);
		
		destra.setBackground(Color.pink);
		con.fill = GridBagConstraints.BOTH;
		con.weightx = 0.25;
		con.weighty = 0.25;
		con.gridx = 3;
		con.gridy = 1;
		this.add(destra, con);
       
	}

}
